// DrawEllipseCtrler.h: interface for the CDrawEllipseCtrler class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DRAWELLIPSECTRLER_H__3117A66A_1D68_42F3_97E6_1F77BC5CDF34__INCLUDED_)
#define AFX_DRAWELLIPSECTRLER_H__3117A66A_1D68_42F3_97E6_1F77BC5CDF34__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DrawObjectCtrler.h"

// used to draw the ellipse (control class)
class CDrawEllipseCtrler : public CDrawObjectCtrler  
{
public:
	CDrawEllipseCtrler(COLORREF color = UD_RED, int width = 1, 
		long style = PS_SOLID, BOOL fill = false);
	virtual ~CDrawEllipseCtrler();

	void MoveAt (CDC* pDC, long x, long y);
	void StartPoint (long x, long y);
	void DrawObject (CDC* pDC);
private:
	long m_lStartx, m_lStarty;		// start point
	long m_lEndx, m_lEndy;			// end point
};

#endif // !defined(AFX_DRAWELLIPSECTRLER_H__3117A66A_1D68_42F3_97E6_1F77BC5CDF34__INCLUDED_)
